package com.vhly.remoteapi.yahoo.contact.field;

import com.vhly.remoteapi.yahoo.contact.FieldValue;

/**
 * Created by IntelliJ IDEA.
 * User: vhly[FR]
 * Date: 2010-12-5
 * Time: 17:12:52
 * Email: vhly@163.com
 */
public class Name extends FieldValue {

    private String name;
    private String givenName;
    private String middleName;
    private String familyName;
    private String prefix;
    private String suffix;
    private String givenNameSound;
    private String familyNameSound;

    public Name(String n){
        name = n;
    }

    /**
     * Serial content to XML
     *
     * @return String
     */
    @Override
    public String toXML() {
        return name;
    }
}
